package com.duobaoyu.dby.supply.db.entity.message;

import com.duobaoyu.dby.common.core.constant.StringPool;
import com.duobaoyu.dby.supply.db.constant.SupplyMapperConstant;
import lombok.experimental.SuperBuilder;
import org.springframework.data.mongodb.core.mapping.Document;

import java.time.LocalDateTime;

/**
 * @author liyang
 * @version 1.0.0
 * @ClassName ChannelMessageProduct
 * @createTime 18:46:00 2023/10/13
 */
@SuperBuilder
@Document(SupplyMapperConstant.CHANNEL_MESSAGE_TABLE_NAME + StringPool.UNDERSCORE + SupplyMapperConstant.CHANNEL_MESSAGE_PRODUCT_SUFFIX)
public class ChannelMessageProduct extends ChannelMessage {

    public ChannelMessageProduct(String id, String channelCode, String configUniqueKey, String requestId, String originalMessage, String uniqueKey, Integer messageType, String message, Boolean isBatch, Integer retryCount, Integer status, String sourceClass, String operationalCode, String channelOperationalCode, String remark, Integer version, Integer delFlag, String createBy, LocalDateTime createTime, String updateBy, LocalDateTime updateTime) {
        super(id, channelCode, configUniqueKey, requestId, originalMessage, uniqueKey, messageType, message, isBatch, retryCount, status, sourceClass, operationalCode, channelOperationalCode, remark, version, delFlag, createBy, createTime, updateBy, updateTime);
    }

    public ChannelMessageProduct() {
    }
}
